<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/13
  Time: 15:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html lang="en">
<head>
    <title>teachers</title>
</head>
<body>
教师页面
<hr>
<ul>
    <c:forEach items="${teachers}" var="teacher">
        <li>
                ${teacher}
            <shiro:hasPermission name="teacher:delete">
                <a href="${pageContext.request.contextPath}/teacher/delete?name=${teacher}">删除</a>
            </shiro:hasPermission>

        </li>
    </c:forEach>
</ul>
</body>
</html>
